package com.tansun.easycare.rule.table.evaluationindex.model;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

import com.tansun.easycare.rule.common.model.BaseModel;
import com.tansun.easycare.rule.exception.BizException;

public class EvaluationIndexModel extends BaseModel implements Serializable {


    private static final long serialVersionUID = -1256483418858264431L;

    /**
     * 初始化改条记录的修改内容
     */
    public void InitModifiedContent(EvaluationIndexModel index) throws BizException {
        super.InitModifiedContent(index);
        if (index == null) return;
        if (!StringUtils.isEmpty(index.getName()))
            this.setName(index.getName());
    }

}
